//
//  MeetingMemberViewCell.m
//  TeamInformatization
//
//  Created by bigger on 2019/4/5.
//  Copyright © 2019年 SPIC. All rights reserved.
//

#import "MeetingMemberViewCell.h"

@interface MeetingMemberViewCell ()

// 成员名
@property (nonatomic, strong) SimpleLabel *memberName;


@end

@implementation MeetingMemberViewCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        self.backgroundColor = [UIColor whiteColor];
        [self creatCellView];
    }
    
    return self;
}

- (void)creatCellView
{
    
    self.memberName = [SimpleLabel initWithText:@"姓名" TextColor:kTextAll102Color TextFont:kFont(PFSCRegular, 15) TextAlignment:NSTextAlignmentLeft];
    [self addSubview:_memberName];
    [_memberName mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.mas_equalTo(0);
        make.centerY.equalTo(self);
    }];
    
    UIImageView *deleteView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"ic_delete"]];
    [self addSubview:deleteView];
    [deleteView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.mas_equalTo(self.memberName.mas_right).offset(10 * kScaleWidth);
        make.centerY.mas_equalTo(self);
    }];
    
}


@end
